package com.ruoyi.chiwen.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审核对象 tb_audit
 * 
 * @author chiwen
 * @date 2021-06-14
 */
public class TbAudit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long aId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 审批状态，0待审批1同意打款2拒绝打款 */
    @Excel(name = "审批状态，0待审批1同意打款2拒绝打款")
    private Integer aStatus;

    /** 审批金额 */
    @Excel(name = "审批金额")
    private Long aMoneyNumber;

    /** 期数 */
    @Excel(name = "期数")
    private Long aNper;

    /** 拒绝原因 */
    @Excel(name = "拒绝原因")
    private String aRefusaCause;

    /** 利率 */
    @Excel(name = "利率")
    private BigDecimal aInterestRate;

    /** 是否到账 */
    @Excel(name = "是否到账")
    private Integer isAccount;

    /** 到账时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到账时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date aAccountTime;

    /** 剩余期数 */
    @Excel(name = "剩余期数")
    private Integer aRestPeriods;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createPerson;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatePerson;

    /** 逻辑删除,0没有1有 */
    @Excel(name = "逻辑删除,0没有1有")
    private Integer isDeleted;

    public void setaId(Long aId) 
    {
        this.aId = aId;
    }

    public Long getaId() 
    {
        return aId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setaStatus(Integer aStatus) 
    {
        this.aStatus = aStatus;
    }

    public Integer getaStatus() 
    {
        return aStatus;
    }
    public void setaMoneyNumber(Long aMoneyNumber) 
    {
        this.aMoneyNumber = aMoneyNumber;
    }

    public Long getaMoneyNumber() 
    {
        return aMoneyNumber;
    }
    public void setaNper(Long aNper) 
    {
        this.aNper = aNper;
    }

    public Long getaNper() 
    {
        return aNper;
    }
    public void setaRefusaCause(String aRefusaCause) 
    {
        this.aRefusaCause = aRefusaCause;
    }

    public String getaRefusaCause() 
    {
        return aRefusaCause;
    }

    public BigDecimal getaInterestRate() {
        return aInterestRate;
    }

    public void setaInterestRate(BigDecimal aInterestRate) {
        this.aInterestRate = aInterestRate;
    }

    public void setIsAccount(Integer isAccount)
    {
        this.isAccount = isAccount;
    }

    public Integer getIsAccount() 
    {
        return isAccount;
    }
    public void setaAccountTime(Date aAccountTime) 
    {
        this.aAccountTime = aAccountTime;
    }

    public Date getaAccountTime() 
    {
        return aAccountTime;
    }
    public void setaRestPeriods(Integer aRestPeriods) 
    {
        this.aRestPeriods = aRestPeriods;
    }

    public Integer getaRestPeriods() 
    {
        return aRestPeriods;
    }
    public void setCreatePerson(String createPerson) 
    {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() 
    {
        return createPerson;
    }
    public void setUpdatePerson(String updatePerson) 
    {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() 
    {
        return updatePerson;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("aId", getaId())
            .append("userId", getUserId())
            .append("aStatus", getaStatus())
            .append("aMoneyNumber", getaMoneyNumber())
            .append("aNper", getaNper())
            .append("aRefusaCause", getaRefusaCause())
            .append("aInterestRate", getaInterestRate())
            .append("isAccount", getIsAccount())
            .append("aAccountTime", getaAccountTime())
            .append("aRestPeriods", getaRestPeriods())
            .append("createTime", getCreateTime())
            .append("createPerson", getCreatePerson())
            .append("updateTime", getUpdateTime())
            .append("updatePerson", getUpdatePerson())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
